public class Dog extends Animal{
    public Dog(String name){
        this.name=name;
    }
   public void eat(){
       System.out.println(name+"在吃狗粮");
   }
}
